{"version":3,"file":"uploader.bundle.map.js","names":["this","BX","UI","exports","ui_uploader_core","ui_dialogs_messagebox","ui_sidepanel_layout","main_loader","ui_draganddrop_draggable","main_core","main_core_events","ui_buttons","_","t","_t","_t2","Header","constructor","options","cache","Cache","MemoryCache","setOptions","set","getOptions","get","setValue","value","Type","isString","isNumber","getValueLayout","textContent","remember","Tag","render","Text","encode","contact","label","getChangeContactButton","Button","text","Loc","getMessage","size","Size","EXTRA_SMALL","color","Color","LIGHT_BORDER","round","getLayout","appendTo","target","isDomNode","Dom","append","prependTo","prepend","renderTo","_$1","_t$1","UploadLayout","children","map","item","_$2","_t$2","Dropzone","EventEmitter","super","setEventNamespace","subscribeFromOptions","events","_$3","_t$3","_t2$1","_t3","ActionPanel","getCropButton","onClick","event","preventDefault","emit","getApplyButton","ApplyButton","PRIMARY","onclick","getCancelButton","CancelButton","getCropActionsLayout","showCropAction","show","hide","hideCropActions","disable","addClass","enable","removeClass","_$4","_t$4","_t2$2","_t3$1","_t4","Status","static","bytes","sizes","textIndex","Math","floor","log","number","parseFloat","pow","toFixed","getUploadStatusLayout","loaderLayout","loader","Loader","mode","updateUploadStatus","percent","percentNode","querySelector","sizeNode","innerHTML","replace","formatted","formatSize","getPreparingStatusLayout","showUploadStatus","reset","layout","uploadStatusLayout","preparingStatusLayout","remove","setOpacity","showPreparingStatus","style","_$5","_t$5","_t2$3","_t3$2","_t4$1","_loadImage","babelHelpers","classPrivateFieldLooseKey","_setIsCropEnabled","Preview","Object","defineProperty","_setIsCropEnabled2","draggable","Draggable","container","type","HEADLESS","context","window","top","subscribe","onDragStart","bind","onDragMove","onDragEnd","getDraggable","getDevicePixelRatio","devicePixelRatio","getCanvas","canvas","timeoutId","setTimeout","parentElement","has","parentRect","width","clientWidth","height","clientHeight","ratio","context2d","getContext","context2dOptions","isPlainObject","assign","scale","clearTimeout","getImagePreviewLayout","getCropControl","clear","clearRect","setSourceImage","image","getSourceImage","setSourceImageRect","rect","getSourceImageRect","setCurrentDrawOptions","drawOptions","getCurrentDrawOptions","applyCrop","cropRect","getCropRect","sourceImageRect","imageScaleRatio","dWidth","cropOptions","sX","left","dX","sY","dY","sWidth","sHeight","dHeight","renderImage","file","classPrivateFieldLooseBase","then","sourceImage","scaleRatio","min","preparedDrawOptions","drawImage","setInitialCropRect","getInitialCropRect","isCropEnabled","enableCrop","control","bottom","right","disableCrop","cropControl","toNumber","data","getData","initialRect","requiredOffset","canvasWidth","canvasHeight","source","matches","position","max","offsetX","offsetY","canvasRect","getBoundingClientRect","async","Promise","resolve","toBlob","getFile","document","createElement","blob","resultBlob","_loadImage2","fileReader","FileReader","readAsDataURL","Event","bindOnce","Image","src","result","_$6","_t$6","Message","_$7","_t$7","FileSelect","getTakePhotoButton","LARGE","icon","Icon","CAMERA","getSelectPhotoButton","DOWNLOAD","_$8","_t$8","_t2$4","_t3$3","_delay","_setPreventConfirmShow","_isConfirmShowPrevented","Uploader","_isConfirmShowPrevented2","_setPreventConfirmShow2","dropzoneLayout","getDropzone","previewLayout","getPreview","fileSelectButtonLayout","getFileSelect","stopImmediatePropagation","controller","upload","assignAsFile","browseElement","getHiddenInput","dropElement","imagePreviewHeight","imagePreviewWidth","autoUpload","acceptedFileTypes","UploaderEvent","FILE_ADD","error","isNil","getClientPreview","setUploaderFile","getMode","Mode","SLIDER","getSliderButtons","saveButton","setDisabled","getActionPanel","INLINE","getInlineSaveButton","setIsChanged","FILE_UPLOAD_PROGRESS","progress","getStatus","getSize","FILE_ERROR","showAlert","args","TopMessageBox","Reflection","getClass","alert","TopMessageBoxButtons","modal","buttons","OK_CANCEL","isChanged","getFileUploader","getUploaderFile","values","includes","getHeader","onTakePhotoClick","onSelectPhotoClick","getUploadLayout","onCropClick","onApplyClick","onCropApplyClick","onCancelClick","onCropCancelClick","addFile","resultFile","getFiles","subscribeOnce","FileEvent","LOAD_COMPLETE","onComplete","onError","console","button","setWaiting","uploaderFile","all","emitAsync","toJSON","setSliderButtons","cancelButton","SidePanelInstance","open","contentCallback","Layout","createContent","extensions","content","design","section","SaveButton","SidePanel","Instance","close","onClose","denyAction","showConfirm","message","onOk","messageBox","getSlider","okCaption","onCancel","cancelCaption","_delay2","callback","delay","Stamp","Dialogs","DragAndDrop"],"sources":["uploader.bundle.js"],"mappings":"AAAAA,KAAKC,GAAKD,KAAKC,IAAM,CAAC,EACtBD,KAAKC,GAAGC,GAAKF,KAAKC,GAAGC,IAAM,CAAC,GAC3B,SAAUC,EAAQC,EAAiBC,EAAsBC,EAAoBC,EAAYC,EAAyBC,EAAUC,EAAiBC,GAC7I,aAEA,IAAIC,EAAIC,GAAKA,EACXC,EACAC,EACF,MAAMC,EACJC,YAAYC,GACVlB,KAAKmB,MAAQ,IAAIV,EAAUW,MAAMC,YACjCrB,KAAKsB,WAAWJ,EAClB,CACAI,WAAWJ,GACTlB,KAAKmB,MAAMI,IAAI,UAAW,IACrBL,GAEP,CACAM,aACE,OAAOxB,KAAKmB,MAAMM,IAAI,UAAW,CAAC,EACpC,CACAC,SAASC,GACP,GAAIlB,EAAUmB,KAAKC,SAASF,IAAUlB,EAAUmB,KAAKE,SAASH,GAAQ,CACpE3B,KAAK+B,iBAAiBC,YAAcL,CACtC,CACF,CACAI,iBACE,OAAO/B,KAAKmB,MAAMc,SAAS,eAAe,IACjCxB,EAAUyB,IAAIC,OAAOrB,IAAOA,EAAKF,CAAC;;oBAE5B,MAAM;;MAEnBH,EAAU2B,KAAKC,OAAOrC,KAAKwB,aAAac,QAAQC,OAAQ9B,EAAU2B,KAAKC,OAAOrC,KAAKwB,aAAac,QAAQC,SAE5G,CACAC,yBACE,OAAOxC,KAAKmB,MAAMc,SAAS,uBAAuB,IACzC,IAAItB,EAAW8B,OAAO,CAC3BC,KAAMjC,EAAUkC,IAAIC,WAAW,wDAC/BC,KAAMlC,EAAW8B,OAAOK,KAAKC,YAC7BC,MAAOrC,EAAW8B,OAAOQ,MAAMC,aAC/BC,MAAO,QAGb,CACAC,YACE,OAAOpD,KAAKmB,MAAMc,SAA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